package com.inbox.domain;

import java.util.Date;

/**
 * 信息实体类
 * 
 * @author Wangpeihu
 * @since 08/01/2010
 * @version 1.0
 * 
 */
public class Message {

	private Integer id;

	/** 信息标题 */
	private String title;

	/** 信息内容 */
	private String content;

	/** 发件人 */
	private Account fromId;

	/** 收件人 */
	private Account toId;

	/** 发件时间 */
	private Date time;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Account getFromId() {
		return fromId;
	}

	public void setFromId(Account fromId) {
		this.fromId = fromId;
	}

	public Account getToId() {
		return toId;
	}

	public void setToId(Account toId) {
		this.toId = toId;
	}

}